﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class MasterPage_NCC : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["NCC_UN"] != null)
        {
            userNameHYPERLINK.Visible = true;
            logoutHYPERLINK.Visible = true;
            userNameHYPERLINK.Text = "Xin chào: " + Session["NCC_UN"].ToString();
            userNameHYPERLINK.NavigateUrl = "QL_TaiKhoanNCC.aspx";
        }
        else
        {
            userNameHYPERLINK.Visible = false;
            logoutHYPERLINK.Visible = false;
        }
    }
}
